
(function($) {
	$.getUrl={
		pageUrl:function(pageName,urlName){
			var pageUrls = {
					// 大众端
					"beforLogin":{
						"login":"/html/gzd/auth/login.html",
						"forgetPwd":"/html/gzd/auth/forgetPwd.html",
						"register":"/html/gzd/auth/register.html",
						"read":"/html/gzd/common/read.html"
					},
					"index":{
						"index":"/html/gzd/navigation/index.html",
						"myOrder":"/html/gzd/myOrder/yygh.html",
						"mySignService":"/html/gzd/signService/wdqy.html",
						"onliePay":"/html/gzd/HospitalPayment/HospPayment/findBills.html",
						"treatmentPay":"/html/gzd/HospitalPayment/treatmentPay/czzyjf.html",
						"elePaper":"/html/gzd/HospitalService/electPrescription/searchPres.html",
						"searchReport":"/html/gzd/HospitalService/inspention/searchReport.html",
						"treatment":"/html/gzd/navigation/treatment.html",
                        "hasContract":"/html/gzd/familyDoc/hasContract.html",
                        "newsRemind":"/html/gzd/news/newsRemind.html",
						"signChat":"/html/gzd/signChat/mySignService.html",
						"consult":"/html/gzd/consult/zxzx.html",
						"onlineConsult" : "/html/gzd/consult/onlineConsultAsk.html"
					},
					"search":{
						"searchInput": "/html/gzd/search/searchInput.html"
                        ,"searchResult": "/html/gzd/search/searchResult.html"
					},
					"mySignService":{
						"wdqy":"/html/gzd/signService/wdqy.html",
						"qyls":"/html/gzd/signService/qyls.html",
						"tdjj":"/html/gzd/signService/tdjj.html",
						"xzfwtc":"/html/gzd/signService/xzfwtc.html",
						"yqyqr":"/html/gzd/signService/yqyqr.html",
						"ysjj":"/html/gzd/signService/ysjj.html",
                        "newsRemind":"/html/gzd/news/newsRemind.html",
						"hasContract":"/html/gzd/signService/hasContract.html"
					},
					"myOrder":{
						"hosDetail":'/html/gzd/myOrder/hosDetail.html',
						"ksDetail":'/html/gzd/myOrder/ksDetail.html',
						"docDetail":'/html/gzd/myOrder/ysDetail.html',
						"orderInfo":"/html/gzd/myOrder/yyInfo.html",
						"orderDetail":"/html/gzd/myOrder/yyDetail.html",
                        "wdyy": '/html/gzd/myOrder/wdyy.html',
						"searchYy":"/html/common/myOrder/searchYy.html",
						"yyDetail":"/html/gzd/myOrder/yyDetailWithoutPay.html"
					},
					"family":{
						"familyList": '/html/gzd/familyList/familyList.html',
						"familyAdd":"/html/gzd/familyList/familyAdd.html",
						"familyInfo":"/html/gzd/familyList/familyInfo.html",
						"selfCenter":"selfCenter",
						"familyPatientCard":"/html/gzd/familyList/familyPatientCard.html",
						"familyUpdate" : "/html/gzd/familyList/familyUpdate.html"
					},
					"onlineConsult":{
						"wdzx": '/html/onlineConsult/wdzx.html',
						"onlineConsultAsk":"/html/gzd/consult/onlineConsultAsk.html",
						
						"consultDetail":"/html/gzd/consult/consultDetail.html",
						"questList":"/html/gzd/consult/questList.html",
						"questDetailList":"/html/gzd/consult/questionDetailList.html"
					},
					"selfCenter":{
			            "wdyy": '/html/gzd/myOrder/wdyy.html',
			            "wdqy": '/html/gzd/signService/qyls.html',
			            "familyList": '/html/gzd/familyList/familyList.html',
			            "wdjkk": '/html/gzd/jkk/list.html',
			            "zyjl":'/html/gzd/hospitalRecords/hospitalRecords.html',
			            "wdyx": '/html/healthapp/medicineKit/medicineKit.html',
						"sz": '/html/gzd/navigation/userSetting.html',
						"personal" : "/html/gzd/navigation/personal.html",
						"consultList":"/html/gzd/consult/questionList.html"
					},
					"measurement" : {
						"suger_mobile" : "/html/gzd/measurement/suger_mobile.html",
						"records_mobile" : "/html/gzd/measurement/records_mobile.html",
						"BMI_mobile" : "/html/gzd/measurement/BMI_mobile.html",
						"oxygen_mobile" : "/html/gzd/measurement/oxygen_mobile.html",
						"WHR_mobile" : "/html/gzd/measurement/WHR_mobile.html",
						"pressure_mobile" : "/html/gzd/measurement/pressure_mobile.html",
						"selfTest_mobile" : "/html/gzd/measurement/selfTest_mobile.html"
					},
			        "healthInfo":{
			        	//"healthInfoIndex":"/html/gzd/consoleDisplayPage/jkzx/jkzx-sy.html"
			        },
			        "healthRecord":{
			        	"healthRecordIndex":"/html/gzd/jkda/index.html"
			        },
					"diseaseTest":{
						"partList":"/html/gzd/diseaseTest/partList.html",
						"diseaseList":"/html/gzd/diseaseTest/diseaseList.html",
						"diseaseDetail":"/html/gzd/diseaseTest/diseaseDetail.html",
						"diseaseTestIndex":"/html/gzd/diseaseTest/diseaseTest.html"
					},
					"userSetting":{
						"userChangePass":"/html/gzd/auth/userChangePass.html",
						"userAdvice":"/html/gzd/navigation/selfCenter/userAdvice.html",
						"userAboutUs":"/html/gzd/navigation/selfCenter/userAboutUs.html",
						"usersAgreement":"/html/gzd/navigation/selfCenter/usersAgreement.html"
					},
					"common":{
						"findHospital":"/html/gzd/common/findHospital.html",
						"selectePerson":"/html/gzd/common/selectePerson.html",
						"hospitalListing":"/html/gzd/hospitalRecords/hospitalListing.html"
					},
					"jkda":{
						"main":"/html/gzd/jkda/index.html",
						"jzjl":"/html/gzd/jkda/jzjl/jzjl.html",
						"jzDetail":"/html/gzd/jkda/jzjl/jzDetail.html",
						"zyDetail":"/html/gzd/jkda/jzjl/zyDetail.html",
						"dzcfDetail" : "/html/gzd/jkda/jzjl/dzcf/dzcfDetail.html",
						"sfjl" : "/html/gzd/jkda/sfjl/sfjl.html",
						"jyjc":"/html/gzd/jkda/jyjc/jyjc.html",
						"jcbg":"/html/gzd/jkda/jyjc/jcbg.html",
						"jybg":"/html/gzd/jkda/jyjc/jybg.html",
						"ssjl":"/html/gzd/jkda/ssjl/ssjl.html",
						"tjbg":"/html/gzd/jkda/tjbg/tjbg.html",
						"mbbg":"/html/gzd/jkda/mbda/mbda.html",
					},
					"onlinePay":{
						"myBills":"/html/gzd/HospitalPayment/HospPayment/myBill.html"
					},
					"treatmentPay":{
						"index":"/html/gzd/HospitalPayment/treatmentPay/czzyjf.html",
						"zyjrResult":"/html/gzd/HospitalPayment/treatmentPay/zyjfResult.html",
						"prePay":"/html/gzd/HospitalPayment/treatmentPay/yjjcz.html",
						"prePayList":"/html/gzd/HospitalPayment/treatmentPay/yjjList.html"
					},
					"searchReport":{
						"reportList":"/html/gzd/HospitalService/inspention/reportList.html",
						"jyreportDetail":"/html/gzd/HospitalService/inspention/jybgxq.html",
						"jcreportDetail":"/html/gzd/HospitalService/inspention/jcbgxq.html"
					},
					"electPrescription":{
						"presListing":"/html/gzd/HospitalService/electPrescription/presListing.html",
					},
					"hospitalRecords":{
						"hospitalListing":"/html/gzd/hospitalRecords/hospitalListing.html",
					},
					"jzDetail":{
						"dzcf":"/html/gzd/jkda/jzjl/dzcf/dzcfList.html",

					},
					"signService" : {
						"qyqr" : "/html/common/signService/doc_qyqr.html",
						"patientHomepage" : "/html/ysd/zyhz/hzzym.html",
						"collectResidents":"/html/ysd/qyjm/collectResidents.html",
						"qyjm" : "/html/ysd/qyjm/qyjm_index.html",
						"tdjj" : "/html/common/signService/tdjj.html",
					},
					"jkzx":{
						"index":"/html/gzd/consoleDisplayPage/jkzx/jkzx-sy.html",
						"detail":"/html/gzd/consoleDisplayPage/bmgg/jkzx-content.html",
						"wdsc":"/html/gzd/consoleDisplayPage/jkzx/wdsc-jkzx.html"
					},
					"treatment" : {
						"yygh" : "/html/gzd/myOrder/hosDetail.html",
						// "yygk" : "/html/gzd/myOrder/hosDetail.html",
						"xsjf" : "/html/gzd/HospitalPayment/HospPayment/findBills.html"
					},
					"news" : {
						"newsRemind" : "/html/gzd/news/newsRemind.html",
					},
					"familyDoc" : {
                        "hasContract":"/html/gzd/familyDoc/hasContract.html",
                        "noContract":"/html/gzd/familyDoc/noContract.html",
                        "noPrescription":"/html/gzd/familyDoc/noPrescription.html",
                        "hasPrescription":"/html/gzd/familyDoc/hasPrescription.html",
                        "logistics":"/html/gzd/familyDoc/logistics.html",
                        "prescriptionDetail":"/html/gzd/familyDoc/prescriptionDetail.html",
					},
					"estimate":{
						"jzpj":"/html/gzd/estimate/jzpj.html"
					}

			};
			if(urlName)
				return pageUrls[pageName][urlName];
			else
				return pageUrls[pageName];
			
		}
	}
})(jQuery);